from DrissionPage import Chromium, WebPage, SessionPage, ChromiumPage

page = WebPage()

# 默认是d 驱动浏览器
print(page.mode)

# 模式修改为s
page.change_mode(mode="s", go=False)
page.get("http://httpbin.org/get")
print(page.json)

r = page.post("http://httpbin.org/post", data={
    "name": "qiku"
})

print(r.json())
print(page.json)
